package router

import (
	"github.com/gin-gonic/gin"
	"likeadmin/scyExam"
)

//var scyModuleName = "scy"

func SetScyExamRouter(r *gin.Engine) *gin.Engine {

	r.POST("/"+scyModuleName+"/createScyExam", scyExam.CreateScyExam)
	r.POST("/"+scyModuleName+"/updateScyExam", scyExam.UpdateScyExam)
	r.POST("/"+scyModuleName+"/deleteScyExam", scyExam.DeleteScyExam)
	r.POST("/"+scyModuleName+"/getScyExamList", scyExam.GetScyExamList)

	return r
}
